package hr.fer.zemris.gep;

import java.util.Random;

public class SimpleNodeFactory implements INodeFactory {
	private INode node;
	
	public SimpleNodeFactory(INode node) {
		this.node = node;
	}
	
	@Override
	public INode create(Random rnd) {
		return node;
	}

	@Override
	public int getAirity() {
		return node.getAirity();
	}
}
